<template lang="">
    <div>
       <ul class="todo-main">
            <MyItem 
                v-for="todo of todos" 
                :key="todo.id" 
                :todo="todo"
            /> 
       </ul>
    </div>
</template>
<script>
    import MyItem from './MyItem';
    export default {
        name:"MyList",
        components:{MyItem},
        props:['todos']
    }
</script>
<style lang="">
    
</style>